package com.jdym.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Pv对象", description="统计访问量")
public class Pv implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "pvid",type = IdType.AUTO)
    private Integer pvid;

    @ApiModelProperty(value = "每日访问数量")
    private Integer pvcount;

    @ApiModelProperty(value = "时间")
    private LocalDateTime pvtime;

}
